<div class="wrapper">
<div class="cztoonavbig">
<div class="cztoonav">
<div class="fl">免费发布分类信息网,今天是2015年7月22日！</div>
<div class="fr">欢迎您，
<if condition="$uinfo eq 0 ">
<span id="userloginmod" name="userloginmod"><a rel="nofollow"  href='{:U('Public/reg')}'>注册</a>&nbsp;|&nbsp;<a rel="nofollow"  href='{:U('Public/login')}'>登录</a></span>

<else />
<span id="userloginmod" name="userloginmod">{$uinfo['username']}&nbsp;|&nbsp;<a href="{:U('User/index')}">用户中心</a>&nbsp;|&nbsp;<a href="{:U('Public/logout')}">退出</a></span>
</if>
|&nbsp;<a rel="nofollow" href="{:U('User/pay')}">账户充值</a>&nbsp;|&nbsp;<a rel="nofollow" href="/{$city}/publish.html">免费发布信息(无需注册)</a>&nbsp;|&nbsp;<a rel="nofollow" href="{:U('User/index')}">修改删除信息</a>&nbsp;|&nbsp;<a href="/" title="">分类信息首页</a>&nbsp;|
<a  onmouseover="window.external.addFavorite('{$config['site_url']}','818同城网 免费发布分类信息')" target="#" href={$config['site_url']}>加入收藏</a>&nbsp;|&nbsp;<a onClick="SetHome('{$config['site_url']}')" href="javascript:void(0)">设为首页</a></div>
<script type="text/javascript" language="javascript">
    //加入收藏
        function AddFavorite(sURL, sTitle) {
            sURL = encodeURI(sURL); 
        try{   
            window.external.addFavorite(sURL, sTitle);   
        }catch(e) {   
            try{   
                window.sidebar.addPanel(sTitle, sURL, "");
            }catch (e) {   
  
                alert("加入收藏失败，请使用Ctrl+D进行添加,或手动在浏览器里进行设置.");
  
            }   
  
        }
  
    }
  
    //设为首页
  
    function SetHome(url){
  
        if (document.all) {
  
            document.body.style.behavior='url(#default#homepage)';
  
               document.body.setHomePage(url);
  
        }else{
  
            alert("您好,您的浏览器不支持自动设置页面为首页功能,请您手动在浏览器里设置该页面为首页!");
  
        }
  
    }
  
</script>
<!--
<a   onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('{$config['site_url']}');" href="#">设为首页</a>
-->
<div class="clear"></div>
</div>
</div>
<script>
    if (getCookie("userinfouserid") != null) {
        document.getElementById('userloginmod').innerHTML = decodeURI(escape(getCookie("userinfousername"))) + "&nbsp;|&nbsp;<a href='/members/'>用户中心</a>&nbsp;|&nbsp;<a href='/members/logout.aspx'>退出</a>";
    }
</script>

<div class="header">
<div class="headermain">
<div class="logo"><a href="/"><img src="/Home/Tpl/skin/img/logo11.png"></a></div>
<div class='citys'><h1><a href='/'>全国</a></a></h1><span><a href='/'>点此切换城市</a></span></div>

<div class="searchb">
<input class="shuru" id="input_keywords" name="input_keywords" maxlength=40 value="请输入您要查询的内容关键字..." onclick="clearDefaultText(this,'请输入您要查询的内容关键字...')" />
<input class="shurubtn" type="button" onclick="gosearch();" value="搜索"/>
  
<script>
    function gosearch() {
        var t = document.getElementsByName("input_keywords")[0].value;

        if (t == "" || t == "请输入您要查询的内容关键字...") {
            alert("请输入关键字");
            return;
        }

        if (t.length < 2) {
            alert("请输入最少2个关键字");
            return;
        }
        //alert(t);
        fafasearch(t);
     }

</script>
</div>
<div class="fr" style="padding-top:22px;">
<table class="toppost" cellspacing=4>
<tr>
<td class="do1"><a rel="nofollow"  href="/{$city}/publish.html">免费发布信息</a></td>
<if condition="$uinfo eq 0 ">
	<td class="do2"><a rel="nofollow"  href="{:U('Public/login')}">修改删除信息</a></td>
<else />
	<td class="do2"><a rel="nofollow"  href="{:U('User/index')}">修改删除信息</a></td>
</if>
</tr>
</table>
</div>
<div class="clear"></div>
</div>
</div>


<div class="meunnav">
<ul>
    <li class="be cnobg "><a href="/{$city}/">首页</a></li>
    <li class="be "><a href="/{$city}/publish.html">免费发布信息</a></li>
      <volist name="cate" id="v">
          <if condition="$v['id'] eq $cateid">
           <li class="be in"><a href="/{$city}/{$v['path']}/" >{$v['name']}</a></li>
          <else />
           <li class="be"><a href="/{$city}/{$v['path']}/" >{$v['name']}</a></li>
          </if>
        
     </volist>
    <li  class="be "><a rel="nofollow"  href="/about/1.html">使用帮助</a></li>
<li class="jg"></li>
<li class="r"></li>
</ul>
<div class="clear"></div>
</div>
